package cn.stylefeng.guns.modular.mapper;

import cn.stylefeng.guns.modular.entity.IdjUserRole;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author TANGWJ
 * @since 2020-08-06
 */
public interface IdjUserRoleMapper extends BaseMapper<IdjUserRole> {
	
	int insert(IdjUserRole role);
	
	IdjUserRole selectByKeyId(@Param("userId")Long userId);

}
